<?php
/**
 * @name IndexController
 * @author root
 * @desc 默认控制器
 * @see http://www.php.net/manual/en/class.yaf-controller-abstract.php
 */
class IndexController extends Controller_Base {

	public function init()
	{
		parent::init();//权限认证
		$this->Session          = Yaf_Registry::get("session");


	}

	public function listAction() {
	





	}

	//后台首页
    public function indexAction() {
     	$UserInfo = $this->Session->LoginInfo[0];
     	$this->getView()->assign('UserInfo',$UserInfo);

	}

    public function LoginOutAction() {
    		$this->Session->del('LoginInfo');
    		echo "out";
	}
	
	public function indexv3Action() {
		parent::init();//权限认证
	}

}
